import QtQuick

import "qrc:/usv_bridge/UI/"
import controller 1.0

Window {
    width: 1920
    height: 1080
    visible: true
    title: qsTr("Hello World")

    color: "#DDDDDD"
    flags: Qt.Window | Qt.FramelessWindowHint | Qt.WindowMinimizeButtonHint

    Systemcontroller{
        id: system_controller
    }

    //top menu bar
    TopMenuBar{
        id: top_menu_bar
        anchors{
            top: parent.top
            left: parent.left
        }
    }

    //left tools panel
    LeftPanel{
        id: left_panel
        anchors{
            top: top_menu_bar.bottom
            topMargin: 5
            bottom: parent.bottom
            left: parent.left
            leftMargin: 5
        }
    }

    //center map
    OPENMAP{
        id: open_map
        anchors{
            left: left_panel.right
            leftMargin: 5
            top: top_menu_bar.bottom
            topMargin: 5
            bottom: parent.bottom
        }
    }

    //right tools panel
    RightPanel{
        id: right_panel
        anchors{
            left: open_map.right
            leftMargin: 5
            top: top_menu_bar.bottom
            topMargin: 5
            bottom: parent.bottom
            right: parent.right
            rightMargin: 5
        }
    }
}
